module lab4(as,a16,LDS,UDS,UFRCS,LFRCS,USRCS,LSRCS);
input as,a16,LDS,UDS;
output UFRCS,LFRCS,USRCS,LSRCS;

assign UFRCS = as|UDS|a16; 	//Upper Flash Memory
assign LFRCS = as|LDS|a16;	//Lower Flash Memory
assign USRCS = as|UDS|~a16;	//Upper SRAM Memory
assign LSRCS = as|LDS|~a16;	//Lower SRAM Memory


endmodule
